<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>修改书籍</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改书籍</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/student/update" method="post">
        <%--      因为修改出问题  没传id  --%>
        <%--        所以前端隐藏域--%>
        <input type="hidden" name="sid" value="${Qstu.sid}">
        <div class="form-group">
            <label>学生账号：</label>
            <input type="text" name="sno" class="form-control" value="${Qstu.sno}" required>
        </div>
        <div class="form-group">
            <label >学生姓名：</label>
            <input type="text" name="sname" class="form-control"value="${Qstu.sname}" required>
        </div>
        <div class="form-group">
            <label >学生密码：</label>
            <input type="text"  name="spassword" class="form-control" value="${Qstu.spassword}" required>
        </div>
            <div class="form-group">
                <label >学生班级：</label>
                <input type="text"  name="sclass" class="form-control" value="${Qstu.sclass}" required>
            </div>
        <div class="form-group">

            <input type="submit" class="form-control" value="修改" >
        </div>
    </form>

</div>
